package com.car.vo;


import com.car.entity.*;

import java.sql.Date;
import java.util.List;

//汽车信息表
public class CarInfoVo {

  private String id;
  private String carVin;//汽车vin码 每一个码都不保持一致
  private String carName;//汽车名称
  private String carBasic;//基本信息
  private String carSize;//车身尺寸
  private String carDynamical;//动力系统
  private String carUnderpan;//底盘制动
  private String carAfety;//安全配置
  private String carDriving;//驾驶辅助
  private String carExternal;//外部配置
  private String carInterior;//内部配置
  private String carSeat;//座椅配置
  private int carStuta;//0正常,1异常,2损害
  private String carMileage;//车辆行驶里程数
  private String carYl;//信息娱乐
  private String userId;//用户id
  private String track;//车辆行驶轨迹
  private Date createDate;//创建时间
  private Date updateDate;//修改时间

  private ExternalConfig externalConfig;//外部配置
  private PowerSystem powerSystem;//动力配置
  private DrivigAssistance drivingAssistance;//驾驶辅助
  private InteriorConfig interiorConfig;//内部配置
  private BasicInfo basicInfo;//车辆基础信息
  private ChassisBrake chassisBrake;//车辆驱动配置
  private InformationEntertainment informationEntertainment;//信息娱乐
  private SeatConfiguration seatConfiguration;//座椅配置
  private SecurityConfiguration securityConfiguration;//安全配置
  private SizeInfo sizeInfo;//汽车尺寸配置
  private List<CellPack> cellPacks;//多个电池
  private String isPCell;//是否配电


  private String appKey;//安全接口

  public String getAppKey() {
    return appKey;
  }

  public void setAppKey(String appKey) {
    this.appKey = appKey;
  }

  public String getIsPCell() {
    return isPCell;
  }

  public void setIsPCell(String isPCell) {
    this.isPCell = isPCell;
  }

  public List<CellPack> getCellPacks() {
    return cellPacks;
  }

  public void setCellPacks(List<CellPack> cellPacks) {
    this.cellPacks = cellPacks;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getCarVin() {
    return carVin;
  }

  public void setCarVin(String carVin) {
    this.carVin = carVin;
  }

  public String getCarName() {
    return carName;
  }

  public void setCarName(String carName) {
    this.carName = carName;
  }

  public String getCarBasic() {
    return carBasic;
  }

  public void setCarBasic(String carBasic) {
    this.carBasic = carBasic;
  }

  public String getCarSize() {
    return carSize;
  }

  public void setCarSize(String carSize) {
    this.carSize = carSize;
  }

  public String getCarDynamical() {
    return carDynamical;
  }

  public void setCarDynamical(String carDynamical) {
    this.carDynamical = carDynamical;
  }

  public String getCarUnderpan() {
    return carUnderpan;
  }

  public void setCarUnderpan(String carUnderpan) {
    this.carUnderpan = carUnderpan;
  }

  public String getCarAfety() {
    return carAfety;
  }

  public void setCarAfety(String carAfety) {
    this.carAfety = carAfety;
  }

  public String getCarDriving() {
    return carDriving;
  }

  public void setCarDriving(String carDriving) {
    this.carDriving = carDriving;
  }

  public String getCarExternal() {
    return carExternal;
  }

  public void setCarExternal(String carExternal) {
    this.carExternal = carExternal;
  }

  public String getCarInterior() {
    return carInterior;
  }

  public void setCarInterior(String carInterior) {
    this.carInterior = carInterior;
  }

  public String getCarSeat() {
    return carSeat;
  }

  public void setCarSeat(String carSeat) {
    this.carSeat = carSeat;
  }

  public int getCarStuta() {
    return carStuta;
  }

  public void setCarStuta(int carStuta) {
    this.carStuta = carStuta;
  }

  public String getCarMileage() {
    return carMileage;
  }

  public void setCarMileage(String carMileage) {
    this.carMileage = carMileage;
  }

  public String getCarYl() {
    return carYl;
  }

  public void setCarYl(String carYl) {
    this.carYl = carYl;
  }

  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  public String getTrack() {
    return track;
  }

  public void setTrack(String track) {
    this.track = track;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public ExternalConfig getExternalConfig() {
    return externalConfig;
  }

  public void setExternalConfig(ExternalConfig externalConfig) {
    this.externalConfig = externalConfig;
  }

  public PowerSystem getPowerSystem() {
    return powerSystem;
  }

  public void setPowerSystem(PowerSystem powerSystem) {
    this.powerSystem = powerSystem;
  }

  public DrivigAssistance getDrivingAssistance() {
    return drivingAssistance;
  }

  public void setDrivingAssistance(DrivigAssistance drivingAssistance) {
    this.drivingAssistance = drivingAssistance;
  }

  public InteriorConfig getInteriorConfig() {
    return interiorConfig;
  }

  public void setInteriorConfig(InteriorConfig interiorConfig) {
    this.interiorConfig = interiorConfig;
  }

  public BasicInfo getBasicInfo() {
    return basicInfo;
  }

  public void setBasicInfo(BasicInfo basicInfo) {
    this.basicInfo = basicInfo;
  }

  public ChassisBrake getChassisBrake() {
    return chassisBrake;
  }

  public void setChassisBrake(ChassisBrake chassisBrake) {
    this.chassisBrake = chassisBrake;
  }

  public InformationEntertainment getInformationEntertainment() {
    return informationEntertainment;
  }

  public void setInformationEntertainment(InformationEntertainment informationEntertainment) {
    this.informationEntertainment = informationEntertainment;
  }

  public SeatConfiguration getSeatConfiguration() {
    return seatConfiguration;
  }

  public void setSeatConfiguration(SeatConfiguration seatConfiguration) {
    this.seatConfiguration = seatConfiguration;
  }

  public SecurityConfiguration getSecurityConfiguration() {
    return securityConfiguration;
  }

  public void setSecurityConfiguration(SecurityConfiguration securityConfiguration) {
    this.securityConfiguration = securityConfiguration;
  }

  public SizeInfo getSizeInfo() {
    return sizeInfo;
  }

  public void setSizeInfo(SizeInfo sizeInfo) {
    this.sizeInfo = sizeInfo;
  }

  @Override
  public String toString() {
    return "CarInfoVo{" +
            "id='" + id + '\'' +
            ", carVin='" + carVin + '\'' +
            ", carName='" + carName + '\'' +
            ", carBasic='" + carBasic + '\'' +
            ", carSize='" + carSize + '\'' +
            ", carDynamical='" + carDynamical + '\'' +
            ", carUnderpan='" + carUnderpan + '\'' +
            ", carAfety='" + carAfety + '\'' +
            ", carDriving='" + carDriving + '\'' +
            ", carExternal='" + carExternal + '\'' +
            ", carInterior='" + carInterior + '\'' +
            ", carSeat='" + carSeat + '\'' +
            ", carStuta=" + carStuta +
            ", carMileage='" + carMileage + '\'' +
            ", carYl='" + carYl + '\'' +
            ", userId='" + userId + '\'' +
            ", track='" + track + '\'' +
            ", createDate=" + createDate +
            ", updateDate=" + updateDate +
            ", externalConfig=" + externalConfig +
            ", powerSystem=" + powerSystem +
            ", drivingAssistance=" + drivingAssistance +
            ", interiorConfig=" + interiorConfig +
            ", basicInfo=" + basicInfo +
            ", chassisBrake=" + chassisBrake +
            ", informationEntertainment=" + informationEntertainment +
            ", seatConfiguration=" + seatConfiguration +
            ", securityConfiguration=" + securityConfiguration +
            ", sizeInfo=" + sizeInfo +
            ", cellPacks=" + cellPacks +
            '}';
  }
}
